﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JSTest
{
    class Program
    {
        static void Main(string[] args)
        {
            using (Noesis.Javascript.JavascriptContext context = new Noesis.Javascript.JavascriptContext()) 
            {
                var i = context.Run("1+1");
                Console.WriteLine(i);
                Console.WriteLine("press any key exit");
                Console.ReadKey();
            }
        }
    }
}
